package com.demo.test.xml;

import java.util.Map;

import org.dom4j.Document;

public class Demo {

	public static void main(String[] args) {
		CreateXml create = new CreateXml();
		Document doc = create.createXml();
		String strXml = doc.asXML();
		System.out.println(strXml);

		Map map = XmlUtils.Dom2Map(doc);

		System.out.println(map.toString());
	}

}